package com.woniuxy.carlife.util;

import java.text.SimpleDateFormat;

/**
 * @author fx
 * @ClassName:DateFormat
 * @Description:
 * @date 2021/4/8 11:37
 **/
public class DateFormat {

    public static String dateChange(Long date){
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String format = simpleDateFormat.format(date);
        return format;
    }
}
